<?php
session_start();

// includes
	include_once "quickcrud_connect.php";
	include_once "CFclass/CF_mysql_com.php";
	include_once "CFclass/CF_class_com.php";
	include_once "templates_fields.php";

// define custom class
	class CListSpecial extends BasicTable {
	
	
	
	}
// Use class instance
	$tableinstance = new CListSpecial($fieldspec, $testtable);
	//$tableinstance->set_name('templates');
	
	$qry_list = "SELECT * FROM templates WHERE 1 ";
		$array_list = get_array_query($qry_list);
	
	$tableinstance->set_valuesarray($array_list);
	
	
		?>
	
<html>

<head>
	<title>templates list</title>
	<link rel="stylesheet" href="CFclass/commonctls.css" type="text/css">
</head>
<body>
templates Title Here
<br\>
<table name='templates' id='templates'>
<thead>
<tr class="title_row">
<?php print $tableinstance->make_simple_heading(); ?>
</tr>
</thead>
<tbody>
<?php print $tableinstance->maketable() ?>
</tbody>
</table>

</body>
</html>
